package top.lishuoboy.cloud.provider.payment8001;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;

// @EnableEurekaClient // 可以不加
// @EnableDiscoveryClient  // 可以不加。该注解用于向使用consul或者zookeeper或者nacos作为注册中心时注册服务
@EnableCircuitBreaker   // 启用断路器
@MapperScan("top.lishuoboy.cloud.provider.payment8001.mapper")
@SpringBootApplication
public class CloudProviderPayment8001Application {

    public static void main(String[] args) {
        SpringApplication.run(CloudProviderPayment8001Application.class, args);
    }

}
